package com.roc.steelend.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.roc.steelend.pojo.TiaoPiaoSale;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;

@Repository
public interface TiaoPiaoSaleMapper extends BaseMapper<TiaoPiaoSale> {

    List<HashMap<String,Object>> findTiaoPiaoDataBySale(@Param("now") Integer now,
                                                       @Param("size")Integer size,
                                                       @Param("duiXiang")String duiXiang);
    Integer findTiaoPiaoDataBySaleCount(@Param("duiXiang")String duiXiang);
}
